package com.yida.gwj.expend.outside.domain;

import com.yida.common.core.web.domain.BaseEntity;
import com.yida.gwj.expend.outside.enums.BusinessAttachmentServerTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 上传材料图片地址对象 gwj_maintenance_funds_business_attachment
 *
 * @author lgp
 * @date 2023-03-21
 */
@ApiModel(description = "上传材料图片地址对象")
public class GwjMaintenanceFundsBusinessAttachment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long attachmentId;

    /**
     * 文件类型 1:图片 2:报告
     */
    @ApiModelProperty("文件类型 1:图片 2:报告")
    private Integer type;

    /**
     * @see BusinessAttachmentServerTypeEnum
     */
    @ApiModelProperty("文件类型 1:申请报告 2:工程预算书 3:业主征求意见材料 4:维修和更新、改造方案 5:业主确认证明 6:公示照片 7:公示证明 8:申请人主体资格材料 9:维修合同 10:维修资金预付款收款收据 " +
            "11:维修工程决算书 12:维修资金结算发票收款收据 13:申请拨付报告 14:决算费用分摊清册 15:验收报告 16:申请报批表 17:使用拨付审批表 18.维修必要性证明 19.现场勘验确认表")
    private Integer serverType;

    @ApiModelProperty("文件内容")
    private String content;

    @ApiModelProperty("是否收件 0:未收件，1:已收件")
    private Integer receiveFlag;

    @ApiModelProperty("业务标识")
    private String serverIdentification;

    @ApiModelProperty("办事人员ID")
    private Long operId;

    @ApiModelProperty("办事人员姓名")
    private String operName;

    public void setAttachmentId(Long attachmentId) {
        this.attachmentId = attachmentId;
    }

    public Long getAttachmentId() {
        return attachmentId;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    public void setServerType(Integer serverType) {
        this.serverType = serverType;
    }

    public Integer getServerType() {
        return serverType;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setReceiveFlag(Integer receiveFlag) {
        this.receiveFlag = receiveFlag;
    }

    public Integer getReceiveFlag() {
        return receiveFlag;
    }

    public void setServerIdentification(String serverIdentification) {
        this.serverIdentification = serverIdentification;
    }

    public String getServerIdentification() {
        return serverIdentification;
    }

    public Long getOperId() {
        return operId;
    }

    public void setOperId(Long operId) {
        this.operId = operId;
    }

    public String getOperName() {
        return operName;
    }

    public void setOperName(String operName) {
        this.operName = operName;
    }

    @Override
    public String toString() {
        return "GwjMaintenanceFundsBusinessAttachment{" +
                "attachmentId=" + attachmentId +
                ", type=" + type +
                ", serverType=" + serverType +
                ", content='" + content + '\'' +
                ", receiveFlag=" + receiveFlag +
                ", serverIdentification='" + serverIdentification + '\'' +
                ", operId=" + operId +
                ", operName=" + operName +
                '}';
    }
}
